import http from '../http/request'


// 商品列表
function getItemList(params: any) {
    return http.get('/api/rest/items', {
        params
    })
}

// 添加装备
function addItem(params: any) {
    return http.post('/api/rest/items', {
        ...params
    })
}

export {
    getItemList,
    addItem
}